package com.cgt.springboot.service.impl;

import com.cgt.springboot.mapper.TypeMapper;
import com.cgt.springboot.pojo.Type;
import com.cgt.springboot.service.ITypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TypeServiceImpl implements ITypeService {
	@Autowired
	private TypeMapper typeMapper;

	@Override
	public List<Type> list() {
		return typeMapper.list();
	}
}
